/**
 * @(#) MedicalSubTabVO.as
 *
 * @date		2011. 03. 20.
 * @version		1.0
 * @author		Jo, ChangHun
 * @description	의료비 서브  Value Object
 *
 */
package com.skt.common_hr.medicalmoney_sac.model.vo
{
	import com.wcl.utils.DateUtil;
	import com.wcl.utils.NumberUtil;


	[Bindable]
	public class MedicalSubTabVO
	{
		public var USEDT:Date = DateUtil.todayNoTime();	// 의료비 사용일
		public var HOSPD:String = "";	// 병원/약국명
		public var BETRG:Number = 0;	// 사용금액
		
		public var MEDTX:String = "";	// 진료과목명
		public var MEDCD:String = "";	// 진료과목코드
		
		public var MGBN:String = "";	// 구분코드
		public var MGBT:String = "";	// 구분명


		public var CHECK:Boolean;

		public function get BETRG_F():String{
			return NumberUtil.NumberFormat(BETRG);
		}

		public function clone():MedicalSubTabVO
		{
			var tmp:MedicalSubTabVO = new MedicalSubTabVO();
			tmp.USEDT = this.USEDT;
			tmp.HOSPD = this.HOSPD;
			tmp.BETRG = this.BETRG;
			
			tmp.MEDTX = this.MEDTX;
			tmp.MEDCD = this.MEDCD;	
			
			tmp.MGBN  = this.MGBN;		
			tmp.MGBT  = this.MGBT;					

			return tmp;
		}


	}
}